#include "mainwidget.h"
#include "loginwidget.h"
#include "debug.h"
#include "model/datacenter.h"
#include "network/netclient.h"

#include <QApplication>
#include <QTimer>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
#if TEST_SKIP_LOGIN
    MainWidget *w = MainWidget::getInstance();
    w->show();
#else
    LoginWidget *login = new LoginWidget();
    login->show();
#endif

#if TEST_NETWORK
    model::DataCenter *dataCenter = model::DataCenter::getInstance();
    dataCenter->ping();
#endif


    return a.exec();
}
